#include "main.h"

void spaceJump (FILE * arc, fileHead * list)
{
	unsigned long long int sizeFileSz = 0;
	fseek(arc,list->sizeName + 10,SEEK_CUR);
	if (list->huff_ubits & LEN_8_B )	{
		sizeFileSz = SIZE_T_8;
	}
	else {
		sizeFileSz = SIZE_T_4;
	}
	if (!(list->huff_ubits & NO_HUFF))	{
		fseek (arc,sizeFileSz*2+2+list->huff_file_len,SEEK_CUR);
	}
	else {	
		fseek (arc,sizeFileSz+list->fileSize,SEEK_CUR);
	}
	fseek (arc,4,SEEK_CUR);
}